<div class="app-border-bottom">
    <div style="padding: 10px 12px 0px 12px">
        <div>
            <b><?= $msgDlg->MsgTittle ?></b>
        </div>
        <div class="am-text-xs app-gray-color" style="padding-top:5px">
            <?= $msgDlg->MsgText ?>
        </div>
    </div>
    <ul data-am-widget="gallery" class="am-gallery am-avg-sm-3 am-gallery-default" data-am-gallery="{pureview: 1}">
        <?php
        if (!empty($msgDlg->MsgPic)) {
            $imgList = explode(';', $msgDlg->MsgPic);
            foreach ($imgList as $img) {
                $imgMini = make_img_name::make_img_mini_name($img);
                ?>
                <li>
                    <div class="am-gallery-item">
                        <img src="<?= $CfgPara->httproot ?>/message_pic/<?= $imgMini ?>"
                             alt="" data-rel="<?= $CfgPara->httproot ?>/message_pic/<?= $img ?>"/>
                    </div>
                </li>
            <?php }
        } ?>
    </ul>
    <div class="app-gray-color am-text-xs" style="padding: 5px 12px">
        <?= $msgDlg->MsgDt ?>
    </div>
</div>
<script type="text/javascript">
    $.AMUI.gallery.init();
</script>